package com.geostar.constructionland.analyse.entity.alyresult;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonAlias;
import com.geostar.constructionland.common.entity.logs.mongolog.YzGeoJson;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhu jiacheng
 * @date 2020/8/4 14:56
 */

@Data
@ApiModel("陆域范围分析")
@TableName("JSYD_FX_LYFWFX")
public class AlyResultLyfwfx {

    @ApiModelProperty("分析ID")
    @TableId(value = "fxid", type = IdType.ASSIGN_UUID)
    private String fxid;

    @ApiModelProperty("分析标识")
    @TableField(value = "FXBS")
    private String fxbs;

    @ApiModelProperty("地块标识")
    @TableField(value = "DK_ID")
    @JsonAlias(value = "DK_ID")
    private String dkid;

    @ApiModelProperty("地块面积（单位：平方米）")
    @TableField(value = "DK_MJ")
    @JsonAlias(value = "DK_MJ")
    private Double dkmj;

    @ApiModelProperty("是否全部在陆域范围内")
    @TableField(value = "SFWQBH")
    @JsonAlias(value = "SFWQBH")
    private String sfwqbh;

    @ApiModelProperty("压占面积（单位：平方米）")
    @TableField(value = "YZMJ")
    @JsonAlias(value = "YZMJ")
    private Double yzmj;

    @ApiModelProperty("坐标内容在mongodb中主键")
    @TableField(value = "mongo_id")
    private String mongoId;

    @ApiModelProperty("不在陆域范围的坐标信息")
    @TableField(value="EraseGeoJson",exist = false)
    @JsonAlias(value = "EraseGeoJson")
    private String eraseGeoJSON;

    @ApiModelProperty("不在陆域范围的坐标信息：JSON格式")
    @TableField(exist = false)
    private YzGeoJson yzGeoJson;

}
